import Wallet from './Wallet'
import Application from './application'
import Trade from './Trade'
const Home = reserved => require(['@/views/home/home'], reserved);
const Setting = reserved => require(['@/views/set/setting'], reserved);

export default {
    path: '/home',
    name: 'home',
    component: Home,
    redirect: '/o-wallet-list',
    children: [
        {
            path: '/setting', //设置
            name: '设置',
            component: Setting
        },
        Wallet.OWallet,
        Wallet.OWalletNew,
        Wallet.OWalletImport,
        Wallet.OWalletDetails,
        Wallet.OWalletSend,
        Wallet.OWalletAccept,
        Application.validatorNode,
        Trade.TradeDetail,
    ]
}
